package org.dtrd.modules.record.entity.bean;

/**
 * 日期血糖记录，每个时段类型一条记录 xxxStatus 记录状态 0 正常 1 偏低 2 偏高
 *
 * @author xiao
 */
public class DailySugarRecordBean {

    private String date;
    private String formatDate;

    private Integer patientId;

    private Float beforeBreakfast;
    private Integer beforeBreakfastStatus;
    private SugarValueBean beforeBreakfastRecord;

    private Float afterBreakfast;
    private Integer afterBreakfastStatus;
    private SugarValueBean afterBreakfastRecord;

    private Float beforeLunch;
    private Integer beforeLunchStatus;
    private SugarValueBean beforeLunchRecord;

    private Float afterLunch;
    private Integer afterLunchStatus;
    private SugarValueBean afterLunchRecord;

    private Float beforeDinner;
    private Integer beforeDinnerStatus;
    private SugarValueBean beforeDinnerRecord;

    private Float afterDinner;
    private Integer afterDinnerStatus;
    private SugarValueBean afterDinnerRecord;

    private Float earlyMorning;
    private Integer earlyMorningStatus;
    private SugarValueBean earlyMorningRecord;

    private Float beforeSleep;
    private Integer beforeSleepStatus;
    private SugarValueBean beforeSleepRecord;

    private Float randomTime;
    private Integer randomTimeStatus;
    private SugarValueBean randomTimeRecord;

    public DailySugarRecordBean() {
        super();
    }

    public void init() {
        beforeBreakfastStatus = 0;
        afterBreakfastStatus = 0;
        beforeLunchStatus = 0;
        afterLunchStatus = 0;
        beforeDinnerStatus = 0;
        afterDinnerStatus = 0;
        earlyMorningStatus = 0;
        beforeSleepStatus = 0;
        randomTimeStatus = 0;
    }

    public DailySugarRecordBean(String date, Integer patientId, float beforeBreakfast, float afterBreakfast, float beforeLunch, float afterLunch,
                                float beforeDinner, float afterDinner, float earlyMorning, float beforeSleep) {
        super();
        this.date = date;
        this.patientId = patientId;
        this.beforeBreakfast = beforeBreakfast;
        this.afterBreakfast = afterBreakfast;
        this.beforeLunch = beforeLunch;
        this.afterLunch = afterLunch;
        this.beforeDinner = beforeDinner;
        this.afterDinner = afterDinner;
        this.earlyMorning = earlyMorning;
        this.beforeSleep = beforeSleep;
    }

    public DailySugarRecordBean(String date, String formatDate, Integer patientId, Float beforeBreakfast, Integer beforeBreakfastStatus, SugarValueBean beforeBreakfastRecord, Float afterBreakfast, Integer afterBreakfastStatus, SugarValueBean afterBreakfastRecord, Float beforeLunch, Integer beforeLunchStatus, SugarValueBean beforeLunchRecord, Float afterLunch, Integer afterLunchStatus, SugarValueBean afterLunchRecord, Float beforeDinner, Integer beforeDinnerStatus, SugarValueBean beforeDinnerRecord, Float afterDinner, Integer afterDinnerStatus, SugarValueBean afterDinnerRecord, Float earlyMorning, Integer earlyMorningStatus, SugarValueBean earlyMorningRecord, Float beforeSleep, Integer beforeSleepStatus, SugarValueBean beforeSleepRecord, Float randomTime, Integer randomTimeStatus, SugarValueBean randomTimeRecord) {
        this.date = date;
        this.formatDate = formatDate;
        this.patientId = patientId;
        this.beforeBreakfast = beforeBreakfast;
        this.beforeBreakfastStatus = beforeBreakfastStatus;
        this.beforeBreakfastRecord = beforeBreakfastRecord;
        this.afterBreakfast = afterBreakfast;
        this.afterBreakfastStatus = afterBreakfastStatus;
        this.afterBreakfastRecord = afterBreakfastRecord;
        this.beforeLunch = beforeLunch;
        this.beforeLunchStatus = beforeLunchStatus;
        this.beforeLunchRecord = beforeLunchRecord;
        this.afterLunch = afterLunch;
        this.afterLunchStatus = afterLunchStatus;
        this.afterLunchRecord = afterLunchRecord;
        this.beforeDinner = beforeDinner;
        this.beforeDinnerStatus = beforeDinnerStatus;
        this.beforeDinnerRecord = beforeDinnerRecord;
        this.afterDinner = afterDinner;
        this.afterDinnerStatus = afterDinnerStatus;
        this.afterDinnerRecord = afterDinnerRecord;
        this.earlyMorning = earlyMorning;
        this.earlyMorningStatus = earlyMorningStatus;
        this.earlyMorningRecord = earlyMorningRecord;
        this.beforeSleep = beforeSleep;
        this.beforeSleepStatus = beforeSleepStatus;
        this.beforeSleepRecord = beforeSleepRecord;
        this.randomTime = randomTime;
        this.randomTimeStatus = randomTimeStatus;
        this.randomTimeRecord = randomTimeRecord;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Float getBeforeBreakfast() {
        return beforeBreakfast;
    }

    public void setBeforeBreakfast(Float beforeBreakfast) {
        this.beforeBreakfast = beforeBreakfast;
    }

    public Integer getBeforeBreakfastStatus() {
        return beforeBreakfastStatus;
    }

    public void setBeforeBreakfastStatus(Integer beforeBreakfastStatus) {
        this.beforeBreakfastStatus = beforeBreakfastStatus;
    }

    public Float getAfterBreakfast() {
        return afterBreakfast;
    }

    public void setAfterBreakfast(Float afterBreakfast) {
        this.afterBreakfast = afterBreakfast;
    }

    public Integer getAfterBreakfastStatus() {
        return afterBreakfastStatus;
    }

    public void setAfterBreakfastStatus(Integer afterBreakfastStatus) {
        this.afterBreakfastStatus = afterBreakfastStatus;
    }

    public Float getBeforeLunch() {
        return beforeLunch;
    }

    public void setBeforeLunch(Float beforeLunch) {
        this.beforeLunch = beforeLunch;
    }

    public Integer getBeforeLunchStatus() {
        return beforeLunchStatus;
    }

    public void setBeforeLunchStatus(Integer beforeLunchStatus) {
        this.beforeLunchStatus = beforeLunchStatus;
    }

    public Float getAfterLunch() {
        return afterLunch;
    }

    public void setAfterLunch(Float afterLunch) {
        this.afterLunch = afterLunch;
    }

    public Integer getAfterLunchStatus() {
        return afterLunchStatus;
    }

    public void setAfterLunchStatus(Integer afterLunchStatus) {
        this.afterLunchStatus = afterLunchStatus;
    }

    public Float getBeforeDinner() {
        return beforeDinner;
    }

    public void setBeforeDinner(Float beforeDinner) {
        this.beforeDinner = beforeDinner;
    }

    public Integer getBeforeDinnerStatus() {
        return beforeDinnerStatus;
    }

    public void setBeforeDinnerStatus(Integer beforeDinnerStatus) {
        this.beforeDinnerStatus = beforeDinnerStatus;
    }

    public Float getAfterDinner() {
        return afterDinner;
    }

    public void setAfterDinner(Float afterDinner) {
        this.afterDinner = afterDinner;
    }

    public Integer getAfterDinnerStatus() {
        return afterDinnerStatus;
    }

    public void setAfterDinnerStatus(Integer afterDinnerStatus) {
        this.afterDinnerStatus = afterDinnerStatus;
    }

    public Float getEarlyMorning() {
        return earlyMorning;
    }

    public void setEarlyMorning(Float earlyMorning) {
        this.earlyMorning = earlyMorning;
    }

    public Integer getEarlyMorningStatus() {
        return earlyMorningStatus;
    }

    public void setEarlyMorningStatus(Integer earlyMorningStatus) {
        this.earlyMorningStatus = earlyMorningStatus;
    }

    public Float getBeforeSleep() {
        return beforeSleep;
    }

    public void setBeforeSleep(Float beforeSleep) {
        this.beforeSleep = beforeSleep;
    }

    public Integer getBeforeSleepStatus() {
        return beforeSleepStatus;
    }

    public void setBeforeSleepStatus(Integer beforeSleepStatus) {
        this.beforeSleepStatus = beforeSleepStatus;
    }

    public Float getRandomTime() {
        return randomTime;
    }

    public void setRandomTime(Float randomTime) {
        this.randomTime = randomTime;
    }

    public Integer getRandomTimeStatus() {
        return randomTimeStatus;
    }

    public void setRandomTimeStatus(Integer randomTimeStatus) {
        this.randomTimeStatus = randomTimeStatus;
    }

    public String getFormatDate() {
        return formatDate;
    }

    public void setFormatDate(String formatDate) {
        this.formatDate = formatDate;
    }

    public SugarValueBean getBeforeBreakfastRecord() {
        return beforeBreakfastRecord;
    }

    public void setBeforeBreakfastRecord(SugarValueBean beforeBreakfastRecord) {
        this.beforeBreakfastRecord = beforeBreakfastRecord;
    }

    public SugarValueBean getAfterBreakfastRecord() {
        return afterBreakfastRecord;
    }

    public void setAfterBreakfastRecord(SugarValueBean afterBreakfastRecord) {
        this.afterBreakfastRecord = afterBreakfastRecord;
    }

    public SugarValueBean getBeforeLunchRecord() {
        return beforeLunchRecord;
    }

    public void setBeforeLunchRecord(SugarValueBean beforeLunchRecord) {
        this.beforeLunchRecord = beforeLunchRecord;
    }

    public SugarValueBean getAfterLunchRecord() {
        return afterLunchRecord;
    }

    public void setAfterLunchRecord(SugarValueBean afterLunchRecord) {
        this.afterLunchRecord = afterLunchRecord;
    }

    public SugarValueBean getBeforeDinnerRecord() {
        return beforeDinnerRecord;
    }

    public void setBeforeDinnerRecord(SugarValueBean beforeDinnerRecord) {
        this.beforeDinnerRecord = beforeDinnerRecord;
    }

    public SugarValueBean getAfterDinnerRecord() {
        return afterDinnerRecord;
    }

    public void setAfterDinnerRecord(SugarValueBean afterDinnerRecord) {
        this.afterDinnerRecord = afterDinnerRecord;
    }

    public SugarValueBean getEarlyMorningRecord() {
        return earlyMorningRecord;
    }

    public void setEarlyMorningRecord(SugarValueBean earlyMorningRecord) {
        this.earlyMorningRecord = earlyMorningRecord;
    }

    public SugarValueBean getBeforeSleepRecord() {
        return beforeSleepRecord;
    }

    public void setBeforeSleepRecord(SugarValueBean beforeSleepRecord) {
        this.beforeSleepRecord = beforeSleepRecord;
    }

    public SugarValueBean getRandomTimeRecord() {
        return randomTimeRecord;
    }

    public void setRandomTimeRecord(SugarValueBean randomTimeRecord) {
        this.randomTimeRecord = randomTimeRecord;
    }

    @Override
    public String toString() {
        return "DailySugarRecordBean{" +
                "date='" + date + '\'' +
                ", formatDate='" + formatDate + '\'' +
                ", patientId=" + patientId +
                ", beforeBreakfast=" + beforeBreakfast +
                ", beforeBreakfastStatus=" + beforeBreakfastStatus +
                ", beforeBreakfastRecord=" + beforeBreakfastRecord +
                ", afterBreakfast=" + afterBreakfast +
                ", afterBreakfastStatus=" + afterBreakfastStatus +
                ", afterBreakfastRecord=" + afterBreakfastRecord +
                ", beforeLunch=" + beforeLunch +
                ", beforeLunchStatus=" + beforeLunchStatus +
                ", beforeLunchRecord=" + beforeLunchRecord +
                ", afterLunch=" + afterLunch +
                ", afterLunchStatus=" + afterLunchStatus +
                ", afterLunchRecord=" + afterLunchRecord +
                ", beforeDinner=" + beforeDinner +
                ", beforeDinnerStatus=" + beforeDinnerStatus +
                ", beforeDinnerRecord=" + beforeDinnerRecord +
                ", afterDinner=" + afterDinner +
                ", afterDinnerStatus=" + afterDinnerStatus +
                ", afterDinnerRecord=" + afterDinnerRecord +
                ", earlyMorning=" + earlyMorning +
                ", earlyMorningStatus=" + earlyMorningStatus +
                ", earlyMorningRecord=" + earlyMorningRecord +
                ", beforeSleep=" + beforeSleep +
                ", beforeSleepStatus=" + beforeSleepStatus +
                ", beforeSleepRecord=" + beforeSleepRecord +
                ", randomTime=" + randomTime +
                ", randomTimeStatus=" + randomTimeStatus +
                ", randomTimeRecord=" + randomTimeRecord +
                '}';
    }

}
